﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ClientPage.Master" AutoEventWireup="true"
    EnableViewState='false' EnableEventValidation="false" CodeBehind="ShopDetails.aspx.cs"
    Inherits="Aij1.ShopDetails" %>

<%@ Register Assembly="DevExpress.Xpo.v13.1.Web, Version=13.1.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Xpo" TagPrefix="dx" %>
<%@ Register Src="UserControls/CtrlComment.ascx" TagName="CtrlComment" TagPrefix="uc1" %>
<%@ Register Src="UserControls/CtrlNewsMenu.ascx" TagName="CtrlNewsMenu" TagPrefix="uc1" %>
<%@ Register Src="UserControls/CtrlShoppingCart.ascx" TagName="CtrlShoppingCart"
    TagPrefix="uc1" %>
<%@ Register Src="UserControls/CtrlWeibo.ascx" TagName="CtrlWeibo" TagPrefix="uc1" %>
<asp:Content ID="C0" ContentPlaceHolderID="chHead" runat="server">
    <style type="text/css">
        #news2 { text-align: center; line-height: 200%; padding: 8px; color: #CC0000; }
        #news3 { line-height: 180%; padding-top: 10px; padding-bottom: 10px; font-size: 14px; height: auto; width: 100%; overflow: hidden; }
        #news5 { font-size: 16px; padding-top: 20px; border-bottom: 1px dashed #ccc; padding-bottom: 5px; font-weight: bold; color: #005c9f; }
        #news7 { padding-top: 8px; padding-bottom: 10px; line-height: 180%; }
        h1 { font-size: 20px; }
    </style>
</asp:Content>
<asp:Content ID="CT2" ContentPlaceHolderID="left" runat="server">
    <uc1:CtrlNewsMenu ID="CNM" runat="server" CategoryType="商品" />
    <p>
        &nbsp;</p>
    <uc1:CtrlShoppingCart ID="SC" runat="server" ShowSubmitButton="true" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph" runat="server">
    <div id="news2" class="clearfix">
        <h1>
            <%=Article.Title%></h1>
    </div>
    <div style="float: left; width: 256px;">
        <img src="<%=ResolveClientUrl(Article.SamplePhotoId.Url) %>" alt="<%=Article.Title%>"
            style="width: 256px; height: 256px" />
    </div>
    <div id="news3" style="float: left; width: 380px; padding: .5em;">
        <%=Article.Content%>
    </div>
    <div style="clear: both">
    </div>
    <div style="text-align: center; padding: 0.5em; float: left; width: 100%;">
        <span class='price' style="font-size: 16px; float: left;">
            <%=Article.Price.ToString("C")%></span>
        <input type='button' onclick='Reserve(<%=Article.Oid %>,1)' value='现在预订!' class="bigButton" />
    </div>
    <div style="clear: both">
    </div>
    <uc1:CtrlWeibo ID="CW" runat="server" />
    <div>
        <%=QBind.GetKeywordsLink(Article) %></div>
    <div id="news7">
        上一套系：<%=PrevLink %><br />
        下一套系：<%=NextLink %>
    </div>
    <uc1:CtrlComment ID="CtrlComment1" runat="server" />
</asp:Content>
